package com.ziyia.a5_2_1;

import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

public class MainActivity3 extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main3);

        String action = getIntent().getAction();

        new AlertDialog.Builder(this)
                .setTitle(getLocalClassName())
                .setMessage(action)
                .create()
                .show();
    }
}